package br.com.statizo.financeiro.core.repository.impl;

import java.util.List;

import snoghert.db.util.PersistenceUtil;
import br.com.statizo.financeiro.domain.entity.impl.ColorConfig;
import br.com.statizo.financeiro.domain.repo.impl.RepositorioAbstrato;


public class ColorConfigRepository extends RepositorioAbstrato<ColorConfig>{

	public ColorConfigRepository(PersistenceUtil persistenceUtility) {
		super(persistenceUtility);
	}

	public List<ColorConfig> getColors(){
		return entityManager.createQuery("from ColorConfig order by id", ColorConfig.class).getResultList();
	}

}
